package com.example.demo.services;

import com.example.demo.domain.Account;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Service;

import java.sql.SQLException;


public interface AccountService {
    public void updateAccount(Account account) throws SQLException;

    public Account getAccount(String username);

    public Account getAccount(String username, String password);

    public void insertAccount(Account account) throws SQLException;

}
